package com.example.base.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.base.excetion.GlobalExcetion;
import com.example.base.system.domain.SysDicData;
import com.example.base.system.domain.vo.SysDicDataVo;

import java.io.Serializable;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiong
 * @since 2024-02-19
 */
public interface SysDicDataService extends IService<SysDicData> {

    public SysDicData saveSysDicData(SysDicData sysdicdata) throws GlobalExcetion;

    public SysDicData updateSysDicDataById(SysDicData sysdicdata) throws GlobalExcetion;

    public SysDicData saveOrUpdateSysDicData(SysDicDataVo vo) throws GlobalExcetion;

    public SysDicData getSysDicCategoryByKey(String key) throws GlobalExcetion;

    public IPage<SysDicData> page(Serializable categporyId,Integer page,Integer pageSize);



}
